package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资产信息对象 property
 *
 * @author ruoyi
 * @date 2024-06-07
 */
public class Property extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资产ID */
    private Long propertyId;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String propertyName;

    /** 资产所属社团 */
    @Excel(name = "资产所属部门")
    private Long deptId;

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String propertyCode;

    public void setPropertyId(Long propertyId)
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId()
    {
        return propertyId;
    }
    public void setPropertyName(String propertyName)
    {
        this.propertyName = propertyName;
    }

    public String getPropertyName()
    {
        return propertyName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setPropertyCode(String propertyCode)
    {
        this.propertyCode = propertyCode;
    }

    public String getPropertyCode()
    {
        return propertyCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("propertyId", getPropertyId())
                .append("propertyName", getPropertyName())
                .append("propertyCode", getPropertyCode())
                .toString();
    }
}
